package com.yjh.study.data.structure;

public class AbstractElement<T> implements Element<T> {
    protected T data;

    @Override
    public void setData(T t) {
        this.data = t;
    }

    @Override
    public T getData() {
        return this.data;
    }
}
